package com.pjedu.nbmalluser.entity;

import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * (MallAdminUser)实体类
 *
 * @author 汪洋
 * @since 2022-01-28 15:09:50
 */
@Data
@Builder
@Table(name = "mall_admin_user")
public class MallAdminUser implements Serializable {
    private static final long serialVersionUID = -19805539048996179L;
    /**
     * 管理员id
     */
    @Id
    private Integer adminUserId;
    /**
     * 管理员登陆名称
     */
    private String loginUserName;
    /**
     * 管理员登陆密码
     */
    private String loginPassword;
    /**
     * 管理员显示昵称
     */
    private String nickName;
    /**
     * 是否锁定 0未锁定 1已锁定无法登陆
     */
    private Integer locked;

    @Tolerate
    public MallAdminUser() {
    }
}

